<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>角色管理</title>
    <link rel="stylesheet" href="css_js/css/bootstrap.min.css" />
    <link rel="stylesheet" href="dist/css/common.css" />
    <link rel="stylesheet" href="dist/css/addRole.css" />
    <link rel="stylesheet" href="css_js/layui/css/layui.css" />
</head>

<body ng-app="App" ng-controller="addRoleCtrl">
    <div class="bg_color">
        <div class="navbar text-center">
            <div class="nav_body">
                <img ng-click="go_back()" class="pull-left btn_top_left" src="dist/images/point/left.png">
                <span class="tit_title">添加角色</span>
                <!-- <img id="add_data" class="btn_top_right" src="dist/images/point/plus.png" ng-click="addRoleInfo()"> -->
            </div>
        </div>
        <div class="content">
            <div class="row">
                <div class=".col-sm-3 .col-md-3">
                    <div class="addRoleForm">
                        <div class="input-group">
                            <span class="input-group-addon" id="roleName">名称</span>
                            <input type="text" class="form-control" placeholder="角色名称" aria-describedby="basic-addon1" ng-model="roleName" maxlength="15">
                        </div>
                        <hr>
                        <div class="input-group">
                            <span class="input-group-addon" rows="3" id="roleDescription">描述</span>
                            <textarea class="form-control" rows="3" ng-model="roleDescription"></textarea>
                            <!-- <input type="text" class="form-control" placeholder="角色描述" aria-describedby="basic-addon1" ng-model="roleDescription"> -->
                        </div>
                    </div>
                </div>
                <div class=".col-sm-3 col-sm-offset-10.col-md-3 col-md-offset-10">
                    <span class="errMsg" ng-show="errMsg">{{errMsg}}</span>
                    <button type="button" id="myButton" data-loading-text="提交中.." class="btn btn-success" autocomplete="off" ng-click="addRoleInfo()">
                        添加
                    </button>
                </div>
            </div>
        </div>
    </div>
    <script src="css_js/js/jquery.min.js"></script>
    <script src="css_js/js/angular.min.js"></script>
    <script src="css_js/js/angular-cookies.min.js"></script>
    <script src="css_js/js/bootstrap.min.js"></script>
    <script src="dist/controller/config.js"></script>
    <script src="dist/controller/addRoleCtrl.js"></script>
    <script src="css_js/layui/layui.all.js"></script>

</body>

</html>